import request from '@/utils/request'

// 查询工程配置列表
export function listProject_config(query) {
  return request({
    url: '/demo/project_config/list',
    method: 'get',
    params: query
  })
}

// 查询工程配置详细
export function getProject_config(tableId) {
  return request({
    url: '/demo/project_config/' + tableId,
    method: 'get'
  })
}

// 新增工程配置
export function addProject_config(data) {
  return request({
    url: '/demo/project_config',
    method: 'post',
    data: data
  })
}

// 修改工程配置
export function updateProject_config(data) {
  return request({
    url: '/demo/project_config',
    method: 'put',
    data: data
  })
}

// 删除工程配置
export function delProject_config(tableId) {
  return request({
    url: '/demo/project_config/' + tableId,
    method: 'delete'
  })
}
